import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { LoginRoutingModule } from './login-routing.module';
import { LoginComponent } from './login/login.component';
import { NzButtonModule } from 'ng-zorro-antd/button';
import {NzGridModule} from "ng-zorro-antd/grid";
import {NzFormModule} from "ng-zorro-antd/form";
import {NzInputModule} from "ng-zorro-antd/input";
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzTypographyModule } from 'ng-zorro-antd/typography';
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {LoginHttpService} from "./service/login-http.service";

/**
 * login module
 */
@NgModule({
  declarations: [LoginComponent],
  imports: [
    CommonModule,
    LoginRoutingModule,NzInputModule,NzIconModule,NzTypographyModule,
    NzButtonModule,NzGridModule,NzFormModule,
    FormsModule,
    ReactiveFormsModule
  ],
  providers:[{provide:LoginHttpService,useClass:LoginHttpService}]
})
export class LoginModule { }
